import request from '@/plugin/axios'
import util from '@/libs/util.js'

import ApiAccountAccessType from '@/api/settle.accountAccessType'

export default {

	list (data) {
		return request({
			url: 'mchAccountAccess/list',
			headers: {},
			method: 'post',
			data,
		});
	},
 
	detailList (data) {
		return request({
			url: 'mchAccountAccess/get',
			headers: {},
			method: 'post',
			data,
		});
	},

	info (data) {
		return request({
			url: 'mchaccountaccesshuman/info',
			headers: {},
			method: 'post',
			data,
		});
	},

	getAccountTypeOptions (data) {
		return request({
			url: 'mchAccountAccessDetail/accountOption',
			headers: {},
			method: 'post',
			data,
		});
	},

	exportExcel (data) {
		return request({
			url: 'mchaccountaccesshuman/exportexcel',
			headers: {},
			method: 'post',
			data,
		});
	},

	getTypeOptions: ApiAccountAccessType.getTypeOptions,

};